package com.example.script.portal;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * (scanBasePackages = "com.example.script")
 * 这个是扫描路径，可以扫描上一级的包
 */
@SpringBootApplication(scanBasePackages = "com.example")
@MapperScan(basePackages = {"com.example.script.mapper","com.example.script.portal.dao"})
public class ScriptPortalApplication {
    public static void main(String[] args) {
        SpringApplication.run(ScriptPortalApplication.class,args);
    }
}
